.commonCustomWidget {
  user-select: none;
  ul,
  li,
  div,
  span，input {
    font-size: 13px;
  }
  .fontIcon {
    color: #b0b0b0;
    &:hover {
      color: #424242;
    }
  }
  .borderTop {
    border-top: 1px solid #ccc;
  }
  .fullHeight {
    height: 100%;
  }
  .bold {
    font-weight: 600;
  }
  .canDragEl {
    cursor: grab;
    &.cursorDrabbing {
    }
  }
  &.cursorGrabbing {
    & * {
      cursor: grabbing !important;
    }
    cursor: grabbing !important;
  }
  textarea,
  input[type="text"] {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    resize: none;
    height: 32px;
    line-height: 32px;
  }
  textarea {
    height: 30px;
    line-height: 30px;
  }
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  .customHead {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  .customHead,
  .customLeftMenu,
  .customContent,
  .customSettings {
    background: #fff;
  }
  .customLeftMenu {
    height: 100%;
  }
  .customLeftMenu,
  .customLeftMenu input,
  .customContent,
  .customContent input {
    user-select: none;
  }
  .customSettings {
    display: flex;
    flex-direction: column;
    width: 350px;
  }
  .customContent {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .customHead {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    padding-right: 15px;
  }
  .handleArea,
  .customLeftMenu {
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.15);
  }
  .customHeadBox {
    display: flex;
    height: 100%;
    min-height: 0;
  }
  .customWidgetContainer {
    display: flex;
    justify-content: center;
    height: 100%;
    min-height: 0;
  }
  .customHeadBox {
    .goback {
      display: inline-block;
      width: 20px;
      padding: 0 20px;
      font-size: 0;
      height: 50px;
      color: #757575;
      cursor: pointer;
      user-select: none;
      &:hover {
        color: #333;
      }
      i.icon {
        font-size: 16px;
        line-height: 50px;
      }
    }
    .editDetailWrap {
      display: flex;
      flex: 1;
      font-size: 16px;
    }
  }
  .customWidgetContainer {
    box-sizing: border-box;
    padding-top: 60px;
    font-size: 12px;
  }
  .customHead {
    height: 50px;
    line-height: 50px;
    .customCancel,
    .customSave {
      display: inline-block;
      margin-left: 10px;
      height: 34px;
      line-height: 34px;
      vertical-align: middle;
      margin-top: 8px;
      width: 88px;
      text-align: center;
    }
    .customCancel:not(:hover) {
      color: #ccc !important;
    }
    .customSave {
      color: #fff;
      border-radius: 3px;
    }
  }
  .customLeftMenu {
    width: 180px;
  }
  .customContent {
    width: 640px;
    border-right: 1px solid #ccc;
  }
  .customSettings {
    width: 464px;
    user-select: none;
  }
  .showImg {
    height: 160px;
  }
  #dragPreview {
    position: absolute;
    box-shadow: 1px 1px 6px 1px #ccc;
    background: #fff;
    border: 0;
    cursor: grabbing;
    pointer-events: none;
    z-index: 1001;
    &.transition {
      transition: all 0.3s ease-in-out;
    }
    &.left {
      transform: rotate(3deg);
      opacity: 1;
      border-radius: 7px;
      overflow: hidden;
    }
    & > * {
      background-color: transparent;
      pointer-events: none;
    }
    &.isDragging {
      .widgetListItem {
        cursor: grabbing;
      }
    }
  }
  .customTitle {
    font-size: 14px;
    color: #333;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
  }
  .flexBox {
    display: flex;
  }
  .dragPreview {
    position: absolute;
    top: 8px;
    left: 16px;
  }
}

#confirmLoadStorage {
  .noTextBtn {
    line-height: 36px !important;
    height: 36px;
    padding: 0 24px;
    cursor: pointer;
    text-align: center;
    margin-right: 10px;
  }
}

.limitTxt {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  max-width: 86px;
}

.confirmSave {
  .noHeader {
    height: 0;
  }
  .dialogContent {
    text-align: center;
    padding: 14px 0;
    padding-right: 20px;
    height: 36px;
  }
  .savePrompt {
    display: inline-block;
    vertical-align: middle;
    margin-top: 5px;
    color: #9e9e9e;
  }
  .saveLoader {
    display: inline-block;
    vertical-align: middle;
    margin-right: 22px;
  }
}

.pointerEvents {
  pointer-events: none;
}

.formulaFocus {
  background: rgba(255, 245, 0, 0.3) !important;
  &:hover {
    background: rgba(255, 245, 0, 0.6) !important;
  }
}
.formulaSelected {
  background: rgba(255, 245, 0, 1) !important;
}
// 表格预览样式
.workSheetPreview {
  .previewBox {
    height: 100%;
  }
}

@import "widgetBox.less";
@import "editBox.less";
@import "settingsBox.less";
